<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="../../v2/common/jspcommon.jsp"%>
<title>订单详情</title>
<script type="text/javascript">
	//更新订单
		function updateOrderById(orderId){
			$('#product_content').load("/misc/product/updateOrderById.htm?orderId="+orderId);
		}


	
</script>

</head>
<body>
	<table border="1" width="100%">
	
	<tr>	
			<td>订单创建日期</td>
			<td>订单名称</td>
			<td>订单收件人昵称</td>
			<td>订单收件人姓名</td>
			<td>订单收件人地址</td>
			<td>订单收件人手机号</td>
	</tr>
	<tr>
			<td><fmt:formatDate value="${orderView.gmtCreated}" pattern="MM-dd HH:mm" /></td>
			<td>${orderView.title}</td>
			<td>${orderView.nickname}</td>
			<td>${orderView.addressee}</td>
			<td>
				<c:out value="${orderView.province}" />
				<c:out value="${orderView.city}" />
				<c:out value="${orderView.county}" />
				<c:out value="${orderView.town}" />
				<c:out value="${orderView.address}" />
				<c:out value="${orderView.zipcode}" />
			</td>
			<td>${orderView.phone}</td>
	
	</tr>
	</table>
	
	<div>
			<table border="1" width="100%">
				<tr>
					<td style="text-align: center;">
						<a href="javascript:void(0);" onclick="updateOrderById('${orderView.identifier}');" style="font-size: 20px">修改</a>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="javascript:void(0);" onclick="closed()" style="font-size: 20px">关闭</a>
					</td>
				</tr>
			</table>
	</div>
</body>
</html>